#include <QCoreApplication>
#include <stdio.h>

int main(int argc, char *argv[])
{
    QCoreApplication a(argc, argv);
    double c=0, d=0;
    printf("Vvedite chisla: ");
    scanf("%lf %lf", &c, &d);
    printf("\n Summa kvadratov = %.2lf", c*c+d*d);
    printf("\n Raznost kvadratov = %.2lf",c*c-d*d);
    printf("\n Proizvedenie kvadratov = %.2lf", c*c*d*d);
    printf("\n Chastnoe kvadratov = %.2lf", ((c*c)/(d*d)));

    return 0;
}
